//axios 的封装
import axios from 'axios';

//创建 axios 的实例  instance.get('/api/movie')
let instance = axios.create({});

//添加响应拦截器
instance.interceptors.response.use(response => {
  return response.data.data;
});

//暴露
export default instance;